package ddd.ajava.chapter4.question1;

@Label(name = "123")
public class Person implements SuperPerson {
	@Label(name = "姓名")
	private String name;

	@Label(name = "性别")
	private String sex;

	@Label(name = "年龄")
	private int age;

	@Label(name = "身份证号")
	private String idNo;

	@Label(name = "是否已婚")
	private Boolean isMerried;

	public Person() {
		this.idNo = "123";
	}

	public Person(String idNo) {
		this.idNo = idNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public Boolean isIsMerried() {
		return this.isMerried;
	}

	public void setIsMerried(Boolean is) {
		this.isMerried = is;
	}
}
